home *** CD-ROM | disk | FTP | other *** search
-
- Documentation for ISLABEL.COM, courtesy of Bob Stephan
-
- ISLABEL checks to see if a disk has a specific volume label. Enter either
-
- ISLABEL d:
- or
- ISLABEL d:labelname
-
- where d: is the drive, and <labelname> is the specific volume label to
- check for. ISLABEL shows the result of its check on the screen, but
- it is more useful in a batch file because it sets the ERRORLEVEL to
- indicate the result of the check. The screen output can be hidden
- by redirecting it to the NUL device, e.g., ISLABEL d: >NUL.
-
- The ERRORLEVEL set is:
-
- for ISLABEL d: ... 1 if the disk has a label, 0 if not,
- for ISLABEL d:labelname ... 1 if the name matches, 0 if not.
-
- The label name is up to 11 characters long including spaces. All
- alphabetic characters are converted to upper case and checked for
- a match.